<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="robots" content="noindex, nofollow, noarchive"/>
    <title><?php echo $msg?></title>
    <style>
        body {
            padding: 0;
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            background: #f5f5f5;
        }
        .table { background: #fff; border: 1px solid #ddd; border-radius: 5px; }
        .info { font-size: 11pt; margin-bottom: 1em; padding: 1em; }
    </style>
</head>
<body>

<div id="container">
    <div class="info"><p><strong><?php echo $msg;?></strong></p>
        <table cellpadding="5" cellspacing="1" class="table">
            <tbody>
            <tr class="bg2">
                <td>No.</td>
                <td>File</td>
                <td>Line</td>
                <td>Code</td>
            </tr>
            <?php
            $traces = debug_backtrace();
            foreach($traces as $k => $trace){
                ?>
            <tr class="bg1">
                <td><?php echo $k+1;?></td>
                <td><?php echo $trace['file']; ?></td>
                <td><?php echo $trace['line']; ?></td>
                <td><?php echo $trace['class'] . '   ' . $trace['function']; ?></td>
            </tr>
                <?php } ?>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>